package com.dream.service.user.api;

import com.dream.common.model.response.BaseResponse;

public interface TelCodeService {

    /**
     * 发送短信验证码
     * @param tel
     * @return
     */
     BaseResponse<Boolean>  sendCode(String tel);

    /**
     * 验证短信是否正确
     * @param tel
     * @param code
     * @return
     */
    BaseResponse<Boolean>  validCode(String tel,String code);
}
